package com.example.demo.bean;

//和数据库相对应

import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Date;

@Entity
public class shangpin {
    @Id
    private int id;
    private String name;
    private String icon;
    private int status;



    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }


}
